Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 8, 2022

Bumps mirai-core-jvm from 2.9.0-M1 to 2.11.0-M1.

Release notes

Sourced from mirai-core-jvm's releases.

2.11.0-M1

mirai-core

优化和修复

mirai-console

不兼容变更

  • (仅影响前端实现) 调整了 MiraiConsoleImplementation 内部实现策略. MiraiConsoleImplementation.Companion.getInstance 现在不会返回前端实现的对象, 而会返回 MiraiConsoleImplementationBridge. (mamoe/mirai@2ebd017)

重大变更

  • 重写扩展组件系统 (#1888, #1889):

    • 现在注册的 Extension 会通过其 priority 属性排序, 越高越先弃用.
    • 在遇到 priority 相同时将会选用最先提供的, 而不会再询问用户选择.
    • 移除一些 ExtensionPointbuiltinImplementations, 在 Console启动第一时间初始化内置实现.
    • Console 内置的 Extensionpriority-1. 用户自定义的 Extension的默认为 0.
    • 弃用了 SingletonExtension, SingletonExtensionPoint, AbstractSingletonExtensionPoint.
    • 部分扩展的 companion object 的父类由 AbstractSingletonExtensionPoint 变为 AbstractInstanceExtensionPoint. (ABI 不兼容变更, 但对用户的影响应该极小)
    • 修复 contributeCommandCallParser 无效的问题 (#1860)
  • 重写插件加载系统 (#1842)

    • 修复插件没有隔离导致 class 冲突的问题 (#1815)
    • 修复 mirai-console-gradle 插件打包排除默认依赖不完全的问题 (#1814)
    • 支持不打包单独 JAR 的 JVM 插件加载方式 (#1809)
    • 自动从仓库下载插件的依赖并自动共享依赖以减小体积
    • 修复使用第三方依赖后,插件报错 java.lang.ClassNotFoundException 的问题 (#1802)
    • 调整插件类加载策略: 优先加载自己 JAR, 再从全局搜索; 让插件 JAR 携带除 mirai 外所有运行时依赖 (#1800)
    • 以前插件 class 没有隔离, 不定义依赖也可以引用外部 class. 但这种行为在隔离后将不再允许. 目前会通过日志警告, 将来会禁止.

新特性

  • 将控制台日志完整保存到文件 (#1844, #1874)
  • 为默认的指令解析器支持转义和带空格的参数 (#1897 by @​strear)
  • 在 AutoLogin 配置中增加 heartbeatStrategy, 可选值与 mirai-core 一致 ("STAT_HB" / "REGISTER" / "NONE"). (#1867, #1903 by @​Nambers)

优化和修复

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mirai-core-jvm](https://github.com/mamoe/mirai) from 2.9.0-M1 to 2.11.0-M1.
- [Release notes](https://github.com/mamoe/mirai/releases)
- [Commits](mamoe/mirai@v2.9.0-M1...v2.11.0-M1)

---
updated-dependencies:
- dependency-name: net.mamoe:mirai-core-jvm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 8, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 30, 2022

Superseded by #53.

@dependabot dependabot bot closed this Mar 30, 2022
@dependabot dependabot bot deleted the dependabot/maven/net.mamoe-mirai-core-jvm-2.11.0-M1 branch March 30, 2022 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants